package com.tuanzi.loan.business.service.collaborate.impl;

import com.tuanzi.loan.business.entity.collaborate.StatNewCollaborateRegister;
import com.tuanzi.loan.business.repository.collaborate.StatNewCollaborateRegisterRepository;
import com.tuanzi.loan.business.service.collaborate.StatNewCollaborateRegisterService;
import com.tuanzi.loan.core.aspect.Debug;
import com.tuanzi.loan.core.service.CommonServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.retry.RetryException;
import org.springframework.retry.annotation.Retryable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * User: liangZongXi
 * Create time: 18:47 2018/9/20
 * Description:
 */
@Debug
@Service
@Transactional
@Retryable(value = { RetryException.class })
public class StatNewCollaborateRegisterImpl extends CommonServiceImpl<StatNewCollaborateRegister, Long> implements StatNewCollaborateRegisterService {

    @Autowired
    private StatNewCollaborateRegisterRepository registerRepository;
    @Override
    protected JpaRepository<StatNewCollaborateRegister, Long> getRepository() {
        return registerRepository;
    }
}
